package com.hmy.infrastructure.api.bo.request.sms;

import lombok.Data;

import java.io.Serializable;

/**
 * 校验验证码
 *
 * @author songkf
 */
@Data
public class CheckVerificationCodeRequest implements Serializable {

    /**
     * 缓存Key
     */
//    @NotNull(message = "请输入缓存Key")
    private String cacheCodeKey;

    /**
     * 待校验验证码
     */
//    @NotNull(message = "请输入验证码")
    private String code;

    public CheckVerificationCodeRequest(String cacheCodeKey, String code) {
        this.cacheCodeKey = cacheCodeKey;
        this.code = code;
    }
}
